Information processing apparatus, recording medium, and control method

ABSTRACT

An information processing apparatus ignores a second setting in a despooling process and generates a print command based on a first setting even if a change from the first setting to the second setting is received.

BACKGROUND

1. Field

A system of the present disclosure relates to a technique of printsetting.

2. Description of the Related Art

A technique that executes print setting in an information processingapparatus is suggested. Japanese Patent Laid-open No. JP 2000-298564discloses a technique which executes print setting before a processingby spooler, and then changes print setting after the processing byspooler.

However, there is a case that changing print setting between spoolingprocess and despoiling process as Japanese Patent Laid-open No. JP2000-298564 is undesirable. For example, that is a case that printsetting that has to ensure consistency between spooling process anddespooling process is changed. Therefore, the purpose of a system of thepresent disclosure is to ensure consistency of print setting betweenspooling process and despooling process.

SUMMARY

According to an aspect of the present invention, an informationprocessing apparatus includes a reception unit configured to receive achange of a print setting from a first setting to a second setting, adetermination unit configured to determine whether a common processingthat is common in a spooling process and a despooling process isexecuted as the spooling process or the despooling process, and ageneration unit configured to generate a print command based on thefirst setting after determining the print setting by the first settingthat is received in a case that it is determined that the commonprocessing is executed as the spooling process, or after ignoring theprint setting by the second setting that is received in a case that itis determined that the common processing is executed as the despoolingprocess.

Further features of the present disclosure will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A to 1C are conceptual diagrams when rotating a document in alandscape direction to a document in a portrait direction anddischarging sheet.

FIG. 2 is a block diagram of printing system comprised by a printer andan information processing apparatus.

FIG. 3 is a block diagram of printing system of a first embodiment.

FIG. 4 is a flowchart showing filter processing according to the firstembodiment.

FIG. 5 is a flowchart showing print setting consistency processingaccording to the first embodiment.

FIGS. 6A and 6B are flowcharts showing print setting consistencyprocessing according to the second embodiment.

FIG. 7 is a flowchart showing filter processing according to the sixthembodiment.

FIG. 8 is a flowchart showing filter processing according to the fourthembodiment.

FIG. 9 is a flowcharts showing print setting consistency processingaccording to the fourth embodiment.

FIG. 10 is a flowcharts showing print setting consistency processingaccording to the fifth embodiment.

FIG. 11 is a flowcharts showing print setting consistency processingaccording to the sixth embodiment.

FIGS. 12A and 12B are diagrams showing a user interface of a userinterface module.

FIG. 13 is other diagram showing a user interface of a user interfacemodule.

DESCRIPTION OF THE EMBODIMENTS

The present embodiment is explained based on a configuration which thatincludes a common processing that executes a processing based on aspooling process and despooling process, and can change a print settingwhich is referred by the common processing between the spooling processand the despooling process. In this configuration, there is apossibility that affects the common processing when the print setting ischanged between the spooling process and the despooling process.

In respect to an above-mentioned case that affects the commonprocessing, an example of a rotation direction that a document in alandscape direction is rotated to a document in a portrait direction(landscape rotation direction) and a sheet is discharged is explained.

FIG. 1 is an example of print data 1101 for a print medium in a casethat a document in the landscape direction is rotated to a document inthe portrait direction and a sheet is discharged. The print medium 1102is illustrated in the landscape direction for explanation purposes. Anapplication arranges the print data 1101 in the landscape direction to aprintable area 1104 rotated from a printer driver (spooling process).

FIG. 1A is an example of a case that the print data 1101 is rotatedright 90 degrees. FIG. 1B is an example of a case that the print data1101 is rotated left 90 degrees. The printable area of FIG. 1A and thatof FIG. 1B are different when making directions of the print data 1101the same.

A printable area 1104 differs depending on the landscape rotationdirection. This is due to the margin of a side feed at first is largerthan that of a side discharged at last in a longer direction from astandpoint of mechanical control in an ink jet printer.

FIG. 1C is an example of print medium output, in a case that the printdata which is rotated right 90 degrees is generated by the spoolingprocess, and a printing command which is rotated left 90 degrees isgenerated by the despooling process. An application arranges the printdata 1101 to the printable area 1104 when rotating right 90 degrees. Onthe other hand, the printer driver executes a print processing as theprintable area 1104 when rotating left 90 degrees. As a result, theproblem that is the print command 1105 which is generated based on theprint data 1101 arranged out of the printable area is not printed on theprint medium 1102 and the print command is lacked is occurred.

An example of a configuration to solve the problem was explained mainlyis explained below.

FIG. 2 is a block diagram showing hardware configuration of a printsystem of an embodiment of the present specification. An informationprocessing apparatus 101 has an input interface 102, a centralprocessing unit (CPU) 103, a read only memory (ROM) 104, a random accessmemory (RAM) 105, an external storage apparatus 106, an output interface107, a display unit 108, a keyboard 109, a mouse 110, and an I/Ointerface 111. An initial program is stored in ROM 104, an applicationprogram group and an Operating System (OS), a print driver, and variouskinds of programs are stored in the external storage apparatus 106. RAM105 is used as a work memory by various kinds of problems stored in theexternal storage apparatus 106.

A printer 120 is an image processing apparatus which has an I/Ointerface 121, a ROM 122, a CPU 123, a RAM 124, and a print engine 125.I/O interface 121 is connected with I/O interface 111 of the informationprocessing apparatus 101. Any method for connecting the printer 120 andthe information processing apparatus 101 is applicable. For example, theconnection can be via Universal Serial Bus (USB), Local Area Network(LAN), internet, or wireless communication. The RAM 124 is used as amain memory and a work memory of the CPU 123, and stores a receivingbuffer and various kinds of data for storing a received print job once.The print engine 125 executes printing based on data stored in the RAM124. Various kinds of programs are stored in ROM 122. CPU 123 controlseach of the units of the printer 120 according to the control programs.

Here, shared processing of the information processing apparatus 101 andthe printer 120 is explained like above as an example. However, besidesthis embodiment, other embodiment is no matter.

The CPU (control means) 103 performs processing based on the programsstored in the external storage device 106, whereby a softwareconfiguration of the information processing apparatus 101 illustrated inFIG. 2 and processing of the steps of flowcharts to be described beloware implemented.

Embodiment 1

FIG. 3 is an example of a block diagram showing a configuration of aprint system according to the present embodiment. Hereinafter, theenvironment in which print system is described includes Microsoft®Windows® as the OS, and the XML Paper Specification (XPS) documentformat.

An application 201 makes a document and inquires functions of theprinting system of a user interface module 203 to print the document.The document is stored temporarily in the external storage apparatus 106as XPS spooling data 205 through a print supporting function 202 of theOS (spooling process). Rendering information to let the printer 120execute printing and the print setting is included in the XPS spoolingdata.

A filter 206, which is a part of a printer driver in a filter pipeline(not shown in the figures) that is a service of the OS, converts thedata to a printing command and provides the data to the printer 120 toprint (despooling process). The spooling process and the despoolingprocess are operated as different processes, are not limited to beoperated one after another.

A filter 206 has a function that reads the print setting and XPS partfrom a XPS spool data when printing, converts it to a print command thatthe printer 120 can interpret, provides to the printer 120. The filter206 is called from the print supporting function 202 of the OS whendespooling the spooled print data. A setting consistency processing ofthe user interface module 203 is called, is converted to the printcommand that the printer 120 can interpret, and is submitted to theprinter 120. The print setting consistency processing is describedbelow.

A user interface module 203 provides a function that receives the printsetting, e.g., sheet size, to be used and print direction, ensuresconsistency of the set value and data, and returns the set value and thedata. This function is realized by the print setting consistencyprocessing. The print setting consistency processing does a processingto solve a conflict of the print setting or does a merge processing thatcombines a print ticket attached to layers of XPS. Those two processingmay be executed, one of those may be executed. In the print settingconsistency processing of the present embodiment, as described below,besides the above-mentioned two processing, the landscape rotationdirection is controlled to only be used in the spooling process. Theprint setting consistency processing in the present embodiment is acommon processing that is commonly executed in the spooling process andthe despooling process. In addition, the print setting consistencyprocessing is executed when the print setting is received at the userinterface of the user interface module 203.

The user interface module 203 has a function that stores information todecide at least one print setting (hereinafter, print information) inthe external storage apparatus 106. Furthermore, the user interfacemodule 203 has a function that refers to the print information stored inthe external storage apparatus 106, decides and updates the printinformation, and returns to the application 201, when executing a printsetting consistency processing.

The print setting consistency processing is a common processing which iscalled from the application 201, the user interface of the printerdriver, and the filter 206.

It is able to update the print setting by a fixed value with ensuringthe consistency in the whole print workflow, by referring to the printinformation stored in the external storage apparatus 106, and decidingand updating the print information.

A user interface module 203 has an interface that can change the printinformation stored in the external storage apparatus 106.

FIGS. 12A and 12B are diagrams showing a user interface of the userinterface module 203.

FIG. 12A shows that a print option dialog is opened by selection of aprint option button 1221. Setting a change of the landscape rotationdirection is achieved by a landscape rotation direction control 1211 ofthe print option dialog.

FIG. 12A may be configured like FIG. 13. FIG. 13 shows that a settingspecial dialog is opened by selection of a special setting button.Changing of setting of the landscape rotation direction is achieved byusing a landscape rotation direction control 1211 of the special settingdialog.

Print setting for every printing can be set from the application 201 viathe user interface of the user interface module 203. Common printsetting (default print setting), which is not changed for everyapplication 201, can be also be set.

Furthermore, the print setting may be configured for being able to bechanged by calling of an application a user interface module 203. Bythis configure, the common print setting which is instructed by a usercan be ignored, only when the printing by a specific application.

In concrete terms, it supposed that the landscape rotation direction isset up rotation to the left by 90 degrees as the above-mentioned defaultprint setting, by using of the user interface of the user interfacemodule 203. On the other hand, it supposed that the landscape rotationdirection is specified a rotation to the right by 90 degrees by thespecific application to print. For this case, the specific applicationcalls the user interface module 203 to specify the landscape rotationdirection the rotation to the right by 90 degrees. By this, the rotationto the left by 90 degrees is ignored, and is changed to the rotation tothe right by 90 degrees instead.

FIG. 5 is a flowchart showing a part of the print setting consistencyprocessing executed in the user interface module 203. FIG. 5 is aflowchart concentrating on a part to be processed according to theexternal storage apparatus 106, omits the other processes.

At first, it is used to explain a case that the print supportingfunction 202 calls the print setting consistency processing like FIG.3A.

A user interface module 203 judges whether or not refer to the externalstorage apparatus (S401). For executing this judgment, the userinterface module 203 refers to external storage apparatus referenceinformation, in the concrete terms.

In the present specification, the external storage apparatus referenceinformation is a part of the print setting. The external storageapparatus reference information is information to refer to the printinformation stored in the external storage apparatus 106 and specifywhether or not decide the print setting, in the print settingconsistency processing executed by the user interface module 203. In thepresent embodiment, the external storage apparatus reference informationis set up by the filter 206, but may be set up by the application whichcan set up printing.

The external storage apparatus reference information is set up by thefilter 206 in the despooling process as referred to hereinafter.Therefore, The external storage apparatus reference information does notexist, when the print setting consistency processing is executed as thespooling process (that is, is executed in a calling path of FIG. 3A).This means that judgment of the step S401 is “Yes” if the print settingconsistency processing is executed as the spooling process, judgment ofthe step S401 is “No” if the print setting consistency processing isexecuted as the despooling process. That is, the step S401 is equal to aprocess which judges that the print setting consistency processing isexecuted as the spooling process or the despooling process.

In a case that the external storage apparatus reference information doesnot exists or to refer to the external storage apparatus 106 is decidedin the step S401, the print setting is decided and updated, by referringto the print setting from the external storage apparatus 106.

In concrete terms, it is supposed that the user interface module 203 setup the Landscape rotation direction to the rotation to the left by 90degrees. For this case, in the step S402, the Landscape rotationdirection is decided to the rotation to the left by 90 degrees.

After that, the print setting that consistency of other print setting isensured is decided and updated (S403), and the print setting consistencyprocessing is completed.

FIG. 4 is a flowchart showing a part of a processing that the filter 206calls the print setting consistency processing in the despoolingprocess. The external storage apparatus reference information is set to“not refer”, in the period after the filter 206 is called from the printsupporting function 202 of OS and before the first print settingconsistency processing is called. In a case that the external storageapparatus reference information does not exist in the print setting, thefilter may add the external storage apparatus reference informationnewly. In concrete terms, it is can be considered that an area that theexternal storage apparatus reference information can be set is providedin a print ticket which is an example of the print setting, and theexternal storage apparatus reference information of that area is set to“not refer”.

After that, the filter 206 calls the print setting consistencyprocessing of the user interface module 206 (S302), receives the printsetting that consistency is ensured, and continues a subsequent filterprocessing.

The print setting consistency processing which is called in step S302 isexplained, by using of FIG. 5. That is, it is a case that the filter 206calls the print setting consistency processing like FIG. 3B.

In step S401, it is judged that the external storage apparatus referenceinformation is set to “not refer”. By this, it is judged that the printsetting consistency processing is executed as the despooling process.

Therefore, the step S402 is not executed and the process proceeds to astep S403, as a result of judgment in S401.

An effect which is achieved by this is explained in concrete terms. Forexample, it is supposed that the Landscape rotation direction is changedthe rotation to left by 90 degrees to the rotation to right by 90degrees by a user, by using of the user interface of the user interfacemodule 203, in the middle of FIG. 3A and FIG. 3B. For this case, theLandscape rotation direction is decided the rotation to left by 90degrees once, in the print setting consistency processing called in thepath of FIG. 3A. Therefore, in the print setting consistency processingcalled in the path of FIG. 3B, changing to the setting which is therotation to right by 90 degrees can be ignored, and the processing canbe executed consequently based on the setting of the rotation to left by90 degrees.

By the present configuration, the print setting can be updated by afixed value with ensuring the consistency in a whole of the print flow.By setting of the filter 206 the external storage apparatus referenceinformation to “not refer”, in a case that the print information isupdated stored in the external storage apparatus 106 after the spoolingprocess, the consistency of the print setting can be ensured in a wholeof the print processing.

In the spooling process and the despooling process, the print settingconsistency processing of the user interface module 203 is a common flowas shown in FIG. 5. Therefore, an opening problem can be solved, even ifthe print setting consistency processing must be common in the spoolingprocess and the despooling process. This means that it is easy that theprocessing is adopted in a driver configuration which is difficult tocustomize for a vendor, such as inbox driver.

The external storage apparatus reference information, which is ajudgment standard in step S401, is added by the filter 206. Therefore,even if name of a parent processing is changed by specification changeas like, the judgment of step S401 can be executed regardless of thespecification change, in a comparison with an example that is judgedbased on name of the parent processing in the embodiment 5 asbelow-mentioned. By this, a configuration which has a high toughness canbe provided.

Embodiment 2

In the embodiment 1, the filter 206 sets the external storage apparatusreference information, judges whether or not the print settingconsistency processing is executed in the despooling process, anddiffers a process.

However, the problem shown in FIG. 1 can be solved, by a configurationas next. That is, the user interface module 203 provides the printsetting consistency processing, which are different from the spoolingprocess and the despooling process. If the filter 206 does not call theprint setting consistency processing of the spooling process, but cancall the print setting consistency processing of the despooling process,it is not necessary of the filter 206 to set the external storageapparatus reference information.

Therefore, in the present embodiment, it is used to explain that thefilter 206 calls different the print setting consistency processing inthe spooling process and the despooling process.

A whole configuration of the print system in the present embodiment isequal to the embodiment 1, is a configuration equal to the embodiment 1in points made no reference in particular. And, the processing which issame as the step has been explained is denoted by the number same as thestep number has been explained, and the explanation is omittedarbitrarily.

FIG. 6A is the print setting consistency processing by the userinterface module 203, which is called by the print supporting functionof the OS in the spooling process. That is, it is a processing which iscalled at the path of FIG. 3A and executed.

A point that FIG. 6A is different from FIG. 5 is not to have the stepS401. Therefore, the processing of the step S402 is executed, as soon asthe print setting consistency processing is called. By this, theLandscape rotation direction is decided.

FIG. 6B is the print setting consistency processing by the userinterface module 203, which is called by the filter 206 in thedespooling process. That is, it is a processing which is called at thepath of FIG. 3B and executed.

FIG. 6B does not have the step S402, in comparison with FIG. 6A.Therefore, the processing of the step S403 is executed, as soon as theprint setting consistency processing is called. That is, the Landscaperotation direction is not decided and the process is executed.

In the present embodiment, the print setting consistency processing isdivided into the process FIG. 6A and FIG. 6B. But,

a configuration may be adopted, which is same as the configuration ofFIG. 5 and is judged whether or not the predetermined flag is set in anargument of function for calling the print setting consistencyprocessing in the step S401 instead.

In the present embodiment, the consistency of the print setting isensured through the whole print processing as well as the embodiment 1,even if the filter does not set the external storage apparatus referenceinformation. This configuration is adopted in an outbox driver which iseasy to customize.

Embodiment 3

In the embodiment 1, the print information is stored in the externalstorage apparatus 106. In the present embodiment, the print informationis stored in the RAM 124 of the printer 120.

For example, in the embodiment 1, the user interface module 203 acquiresthe print information from the RAM 124 of the printer 120 in the stepS402.

By this, in a case that plural of information processing apparatuses usea printer in common, if the Landscape rotation direction is decided witheach printer, information processing apparatuses which use the printercan use a same Landscape rotation direction in common.

If the printer 120 has the external storage apparatus such as Hard DiskDrive (HDD), a storage destination of the print information may be theexternal storage apparatus.

Embodiment 4

In the present embodiment, besides the Landscape rotation direction,page layout and frame of the page layout is processed as well as theprocessing of the Landscape rotation direction in the embodiment 1.

FIG. 12B is a dialog showing the user interface of the user interfacemodule 203 in the present embodiment. FIG. 12B shows that layoutprinting dialog is open by receiving a press of the advanced settingbutton 1222 by a user. And then, whether or not the frame of the pagelayout is added is receive from a user, by a page layout frame control1203 of the layout printing dialog. And specification of page layout isreceived from a user, by page layout control 1202 of the layout printingdialog.

FIG. 8 is a part of a flowchart until the filter 206 executes the printsetting consistency processing of the user interface module 203 in thepresent embodiment. Process except process with respect to setting ofthe external storage apparatus reference information is omitted. Asshown in FIG. 8, in the present embodiment, the plural of print settingexists which refer to the external storage apparatus 106, such as theLandscape rotation direction, the page layout, and the frame of the pagelayout. A whole configuration of the print system in the presentembodiment is equal to the embodiment 1, is a configuration equal to theembodiment 1 in points made no reference in particular.

The filter 206 sets the external storage apparatus reference informationdesigned for the Landscape rotation direction to “not refer” (S501), andsets the external storage apparatus reference information designed forthe page layout to “not refer” (S502). And then, the filter 206 callsthe print setting consistency processing of the user interface module203 (S503), receives the print setting with ensuring the consistency,and continues the filter processing. The external storage apparatusreference information which is added with the print setting can be addedwith each print setting, as like this. Or it can be operated for theplural of print setting.

FIG. 9 is a flowchart showing a part of the print setting consistencyprocessing, which is executed by the user interface module 203. Atfirst, the user interface module 203 executes a judgment of the externalstorage apparatus reference information designed for the Landscaperotation direction (S601).

In a case that the external storage apparatus reference information doesnot exist or “refer to the external storage apparatus 106” is judged inthe step S601, the print information for deciding the Landscape rotationdirection is referred from the external storage apparatus 106, theLandscape rotation direction is decided, and the print setting isupdated (S602).

Next, the user interface module 203 executes a judgment of the externalstorage apparatus reference information designed for the page layout(S603).

It is used to explain With respect to a case that the external storageapparatus reference information does not exist or “refer to the externalstorage apparatus 106” is judged in the step S603, it is used toexplain. For this case, the print information for deciding the pagelayout is referred from the external storage apparatus 106, the pagelayout and the frame of the page layout are decided, and the printsetting is updated (S604 to S605).

After that, the print setting that the consistency of other printsetting is ensured is decided and updated (S606), the print settingconsistency processing is completed. The print setting consistencyprocessing which is referred in S604 and S605 may be same.

By this, the processes of S602, S604, and S605 are executed in thespooling process. But those processes are not executed in the despoolingprocess.

By the present embodiment, with respect to the print setting items ofthe print information, which is larger than the embodiment 1, theconsistency of the print setting is ensured through whole of the printprocessing, even if the print information stored in the external storageapparatus 106 after the spooling process.

Embodiment 5

In the configuration of the embodiment 1, it could be considered thatthe user interface module 203 recognizes the parent process and judgeswhether refer to the external storage apparatus 106 or not, withoutadding the external storage apparatus reference information to the printsetting.

A whole configuration of the print system in the present embodiment isequal to the embodiment 1, is a configuration equal to the embodiment 1in points made no reference in particular.

FIG. 10 is a part of a flowchart that the user interface module 203executes the print setting consistency processing. This flowchart is aflowchart focused on the process executed according to the externalstorage apparatus 106, and other part is omitted.

The user interface module 203 acquires a process information of theparent process before starting the print setting consistency processing(S701). The information is acquired for this time may be ID or name, ifthe information can be identified. Whether or not the process is calledfrom the process in the despooling process is judged, from the processinformation acquired in the step S701. This judgment is realized by themethod which judges whether or not the name of the parent processacquired in S701 is a process name of a existing system which is used inthe despooling process, as like.

In a case that it is judged that the process is called from the processexcept the despooling process, the Landscape rotation direction isdecided by referring to the print information stored in the externalstorage apparatus 106, and the print setting is updated (S703). In acase that it is judged that the process is called from the despoolingprocess, the step S703 is not executed. After that, the print settingthat the consistency of other print setting is ensured is decided andupdated (S704), the print setting consistency processing is completed.

By the present embodiment, the print setting can be updated withensuring the consistency for whole of the print flow, without adding theexternal storage apparatus reference information to the print setting.

Embodiment 6

In the present embodiment, the method is explained, which solves aproblem in a case that the Landscape rotation direction decided once ischanged in a halfway, once the Landscape is decided and the spoolingprocess is executed. In concrete terms, to avoid the problem which isexplained in FIG. 1, output is executed after rotation by 180 degrees inthe despooling process. Hereinafter, the detail is explained by using ofa flowchart.

A whole configuration of the print system in the present embodiment isequal to the embodiment 1, is a configuration equal to the embodiment 1in points made no reference in particular.

FIG. 11 is a part of a flowchart that the user interface module 203executes the print setting consistency processing in the presentembodiment. This flowchart is a flowchart focused on the processexecuted according to the external storage apparatus 106, and other partis omitted.

The user interface module 203 refers to the print information stored inthe external storage apparatus 106, and decides the Landscape rotationdirection (S1021).

The user interface module 203 judges whether or not the Landscaperotation direction decided in S1201 corresponds to a Landscape rotationdirection of the print setting Input From the application 201 (S1202).

In a case that the user interface module 203 judges “not correspond”,the user interface module 203 judges whether or not the process iscalled from the despooling process (S1203). This judgment is same as theprocess of the step S702. In the step S1203, the user interface module203 only have to judge whether or not the process is called from thedespooling process. So the step S1203 may be realized by using theexternal storage apparatus reference information as the embodiment 1.

In a case that the user interface module 203 judges that the process iscalled from the despooling process, it enables a setting showing torotate by 180 degrees (hereinafter, a rotation flag), which is inputfrom the application 201 (S1204).

After that, the print setting that the consistency of other printsetting is ensured is decided and updated, the print setting consistencyprocessing is completed (S1205).

FIG. 7 is a process that the filter 206 executes as a result of theprocess by the user interface module 203.

The filter 206 judges whether or not the rotation flag is effective inS711. In a case that the rotation flag is effective as a result of ajudgment in S711, the process proceeds to S712. In a case that therotation flag is not effective, the process that the filter executes iscompleted in FIG. 7, as a result of the process of the user interfacemodule 203.

In S712, the print data input from the application is rotated by 180degrees, is arranged to a print medium, and the print command isgenerated. In this time, it is regarded by the filter 206 that marginson the left, right, top, and bottom which are inverse to the margin ofthe time that the rotation flag is not effective, and then the filter206 decides a print area and rotates by 180 degrees. Because, in a casethat the rotation flag is effective, the printer driver returns theapplication 201 the print area which has margins on the left, right,top, and bottom which are inverse to the print area of the time that therotation flag is not effective. When a rotation function by 180 degreeslike this is effective, the print data generated by the application 201is output with being rotated by the newest Landscape rotation direction,without lacking.

There method below could be considered as the method that the process ofthe step S712 is realized.

1. rotate a print data input from the application by 180 degrees andrender the rotated print data

2. execute rotation by 180 degrees as the same as a rendering.

3. render a print data input from the application without rotating theprint data, and output with rotating by 180 degrees by reading by adirection opposite to the ordinary reading direction

In the present embodiment, print setting control that the print commandis not lacked can be realized, by output is executed after rotation by180 degrees in the despooling process.

Other Embodiment

The system in the present specification is realized by executing theprocess below.

That is, the process is a process that a software (a program) that theabove-mentioned embodiments is realized is provided to a system or anapparatus via network or various kinds of recording medium, and acomputer (or CPU or MPU or as like) of the system or the apparatus readsthe program and executes.

By the system of the present specification, the consistency of thespooling process and the despooling process can be ensured.

Additional embodiments can also be realized by a computer of a system orapparatus that reads out and executes computer executable instructionsrecorded on a storage medium (e.g., computer-readable storage medium) toperform the functions of one or more of the above-describedembodiment(s), and by a method performed by the computer of the systemor apparatus by, for example, reading out and executing the computerexecutable instructions from the storage medium to perform the functionsof one or more of the above-described embodiment(s). The computer maycomprise one or more of a central processing unit (CPU), microprocessing unit (MPU), or other circuitry, and may include a network ofseparate computers or separate computer processors. The computerexecutable instructions may be provided to the computer, for example,from a network or the storage medium. The storage medium may include,for example, one or more of a hard disk, a random-access memory (RAM), aread only memory (ROM), a storage of distributed computing systems, anoptical disk (such as a compact disc (CD), digital versatile disc (DVD),or Blu-ray Disc (BD)™), a flash memory device, a memory card, and thelike.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2012-272336, filed Dec. 13, 2012, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. A control method for generating a print commandcomprising: receiving a change of a print setting from a first settingto a second setting; determining whether a common process that is commonin a spooling process and a despooling process is executed as thespooling process or the despooling process; and generating a printcommand based on the first setting after determining the print settingby the first setting that is received in a case that it is determinedthat the common processing is executed as the spooling process, or afterignoring the print setting by the second setting that is received in acase that it is determined that the common processing is executed as thedespooling process.
 2. The control method according to claim 1, furthercomprising: setting information showing that the common processing isexecuted as the despooling process; wherein when it is determined thatthe common processing is executed as despooling process, in a case thatthe setting sets information showing that the common processing isexecuted as the despooling process.
 3. The control method according toclaim 1, further comprising: acquiring information to decide the printsetting from an image processing apparatus.
 4. The control methodaccording to claim 1, wherein the first setting and the second settinginclude a plurality of print setting items.
 5. The control methodaccording to claim 1, further comprising: acquiring a processinformation of a process that calls the common processing; wherein whenit is determined that the common processing is executed as thedespooling process, the acquired process is a specific process.
 6. Thecontrol method according to claim 1, wherein the first setting is afirst rotation direction and the second setting is a second rotationdirection that is rotated 180 degrees from the first rotation direction,wherein an image processing apparatus which processes based on the printcommand, sets margins so that a margin of a side fed at first is largerthan that of a side discharged at last in a longer direction of a sheet.7. The control method according to claim 1, wherein the commonprocessing includes at least one of a processing to solve a conflict ofthe print setting, and a merge processing to combine layers of XPS. 8.The control method according to claim 1, wherein receiving the change ofa print setting includes receiving from the first setting stored in astorage apparatus to the second setting during a print processing.
 9. Anon-transitory computer readable storage medium storing computerexecutable instructions for causing a computer to execute a method forgenerating a print command method comprising: receiving a change of aprint setting from a first setting to a second setting; determiningwhether a common processing that is common in a spooling process and adespooling process is executed as the spooling process or the despoolingprocess; and generating a print command based on the first setting afterdetermining the print setting by the first setting that is received in acase that it is determined that the common processing is executed as thespooling process, or after ignoring the print setting by the secondsetting that is received in a case that it is determined that the commonprocessing is executed as the despooling process.
 10. An informationprocessing apparatus comprising: a reception unit configured to receivea change of a print setting from a first setting to a second setting; adetermination unit configured to determine whether a common processingthat is common in a spooling process and a despooling process isexecuted as the spooling process or the despooling process; and ageneration unit configured to generate a print command based on thefirst setting after determining the print setting by the first settingthat is received in a case that it is determined that the commonprocessing is executed as the spooling process, or after ignoring theprint setting by the second setting that is received in a case that itis determined that the common processing is executed as the despoolingprocess.